﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartWMS.Server.BasicsDatumServer.ProductManagement.Dto
{
    public class ProductManagementDto
    {
        /// <summary>
        /// Id
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 产品编号
        /// </summary>
        [MaxLength(50)]
        public string? ProductCode { get; set; }

        /// <summary>
        /// 产品名称
        /// </summary>
        [MaxLength(50)]
        public string? ProductName { get; set; }

        /// <summary>
        /// 默认仓库
        /// </summary>
        public int DefaultWarehouseId { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        [MaxLength(200)]
        public string? Describe { get; set; }


        /// <summary>
        /// 默认库位
        /// </summary>
        public int DefaultLocationId { get; set; }

        /// <summary>
        /// 默认客户
        /// </summary>
        public int DefaultCustomId { get; set; }

        /// <summary>
        /// 厂家编码
        /// </summary>
        [MaxLength(50)]
        public string? FactoryNo { get; set; }

        /// <summary>
        /// 内部编码
        /// </summary>
        [MaxLength(50)]
        public string? InnerNo { get; set; }


        /// <summary>
        /// 默认供应商
        /// </summary>
        public bool DefaultSupplierId { get; set; }



        /// <summary>
        /// 规格
        /// </summary>
        public string? Specs { get; set; }

        /// <summary>
        /// 类别
        /// </summary>
        public int ProductTypeId { get; set; }


        /// <summary>
        /// 存储单位
        /// </summary>
        public string? Unit { get; set; }

        /// <summary>
        /// 预警(上)
        /// </summary>

        public int Ceiling { get; set; }


        /// <summary>
        /// 预警(下)
        /// </summary>

        public int Floor { get; set; }

        /// <summary>
        /// 包装类型
        /// </summary>
        public string? PackageType { get; set; }


        /// <summary>
        /// 价格
        /// </summary>
        public decimal Price { get; set; }


        /// <summary>
        /// 重量
        /// </summary>
        public string? Weight { get; set; }


        /// <summary>
        /// 库存
        /// </summary>
        public int Inventory { get; set; }

        public string? DelId { get; set; }
    }
}
